package com.eric.ztea.dao;

import org.springframework.data.jpa.repository.JpaRepository;

import com.eric.ztea.domain.SysUser;

public interface SysUserRepository extends JpaRepository<SysUser, Long>{
	
	SysUser findById(Long id);

	SysUser findByTelephone(String telephone);
	
	SysUser findByUsername(String username);
}
